package k.b.s;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class DetailActivity extends Activity {

	private TextView textView_title;
	private TextView textView_detail;
	private TextView textView_channel;
	private int channelNo;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.detail);


        Bundle extras = getIntent().getExtras();
		String title = extras.getString("title");
		String detail = extras.getString("detail");
		String channel = extras.getString("channel");
		channelNo = extras.getInt("channelNo");

        textView_title = (TextView)findViewById(R.id.text_title);
        textView_title.setText(title);
        textView_detail = (TextView)findViewById(R.id.text_detail);
        textView_detail.setText(detail);
        textView_channel = (TextView)findViewById(R.id.text_channel);
        textView_channel.setText(channel);
   }
    public void onClickBackButton(View v){
    	finish();
    }
}